package com.bestcem.xm.ticket.enums;

import lombok.Getter;
import lombok.ToString;

/**
 * 预警关闭原因枚举
 *
 * @author liheng
 * @version v1.0
 * @date 2021/8/16 16:12
 */
@Getter
@ToString
public enum RecordCloseReasonEnum {

    /**
     * 预警关闭原因-未关闭
     */
    NONE(0, "未关闭"),

    /**
     * 预警关闭原因-问卷删除
     */
    QDELETED(1, "问卷删除"),

    /**
     * 预警关闭原因-答卷删除
     */
    RSPDDELETED(2, "答卷删除"),

    /**
     * 预警关闭原因-答卷废弃
     */
    RSPDDISCARD(3, "答卷废弃");

    private final String name;

    private final Integer index;

    RecordCloseReasonEnum(int index, String name) {
        this.name = name;
        this.index = index;
    }


}
